home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
tools
/
czesc_2
/
ftransd_2.1a
/
arexx-scripts
/
fttogglev.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-07-15
|
843b
|
43 lines
/* $VER: FTToggleV.rexx 1.1 (Jun 5 1995)
*
* Arexx-Script für FTrans Arexx-Interface (c) Copyright 1995
* by Rainer Hess
*
* V1.0 - inital release.
* V1.1 - ARexx-Port-Name für FTrans V1.7 geändert.
*/
options results
/*
* rexxsupport.library einbinden.
*/
if ~show('l',"rexxsupport.library") then do
call addlib 'rexxsupport.library',0,-30,0
if (result = 0) then do
say "Die rexxsupport.library kann nicht eingebunden werden!"
say "Evtl. ist die rexxsupport.library nicht installiert..."
exit
end
end
/*
* Läuft unser Ftrans mit ARexx-Port "FTRANS.1"?
*/
ok = show("P","FTRANS.1")
if ok = 0 then do
say 'Entschuldigung, das Programm FTrans mit Arexx-Port FTRANS.1 läuft nicht!'
exit 0
end
/*
* Arexx-Port aktivieren.
*/
address 'FTRANS.1'
VORSCHLAG TOGGLE
say 'Vorschläge sind' result